package com.weixing.mall.provider.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.weixing.mall.provider.model.domain.HelpDoc;
import com.weixing.mall.provider.model.dto.cms.HelpDocDto;
import com.weixing.mall.provider.model.query.HelpDocQuery;
import com.weixing.mall.provider.model.vo.cms.HelpDocEditVo;
import com.weixing.mall.provider.model.vo.cms.HelpDocVo;

/**
 * <p>
 * 帮助文档 服务类
 * </p>
 *
 * @author Small
 * @since 2019-11-18
 */
public interface IHelpDocService extends IService<HelpDoc> {

    /**
     * @Description 帮助管理 分页条件查询 <br/>
     * @author gjq
     * @date 2019/7/26 15:56
     * @param page
     * @Param: helpDocQuery
     * @return com.github.pagehelper.PageInfo<com.weixing.mall.provider.model.domain.HelpDoc>
     */
    IPage<HelpDocVo> selectOfPage(Page page, HelpDocQuery helpDocQuery);
    /**
     * @Description 保存帮助管理信息 <br/>
     * @author gjq
     * @date 2019/7/26 15:57
     * @param helpDocDto
     * @return void
     */
    void save(HelpDocDto helpDocDto,Long uid);

    HelpDocEditVo selectHelpDocVoById(Long id);
}
